/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.home.model.table;

import java.util.Vector;

/**
 *
 * @author vi
 */
public class AgentRankObjTable {
    private int rank;
    private String agentName;
    private double avgScore;

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public double getAvgScore() {
        return avgScore;
    }

    public void setAvgScore(double avgScore) {
        this.avgScore = avgScore;
    }
    
    public Vector toVector() {
        Vector v = new Vector();
        v.add(rank);
        v.add(agentName);
        v.add(avgScore);
        
        return v;
    }
}
